package com.test;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Service;

/**
  *    接口实现类
 * @author 刘文钊
 *
 */
@Service("demoService")
public class DemoServiceImpl implements DemoService {

	@Override
	public List<String> listPermissions(Long id) {
		System.out.println("开始调用");
		SystemDetailUtils.outputDetails();
        List<String> demo = new ArrayList<String>();
        demo.add(String.format("Permission_%d", id - 1));
        demo.add(String.format("Permission_%d", id));
        demo.add(String.format("Permission_%d", id + 1));
        return demo;
	}

}
